Make MH-E use completion-at-point
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 28 Apr 2011 15:32:28 +0000 (12:32 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 28 Apr 2011 15:32:28 +0000 (12:32 -0300)
commit6deaa570f341420f08b68790544be090888813ca
treec7d0fdc4bd93752110c39fd7cfbb83e4ee47572c
parentb40b87ee48e1bb8073aea0dcb4fe55914153a871
Make MH-E use completion-at-point
* lisp/mh-e/mh-letter.el (mh-letter-completion-at-point): New function,
extracted from mh-letter-complete
(mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space): Use it.
(mh-complete-word): Only use the common-substring arg when it works.
(mh-folder-expand-at-point):
* lisp/mh-e/mh-alias.el (mh-alias-letter-expand-alias): Return data suitable
for completion-at-point-functions.
* lisp/mh-e/mh-utils.el (mh-folder-completion-function): Make it work like
file-name completion, so partial-completion can do its job.
* lisp/minibuffer.el (completion-at-point, completion-help-at-point):
Don't presume that a given completion-at-point-function will always
use the same calling convention.
lisp/mh-e/ChangeLog
lisp/mh-e/mh-alias.el
lisp/mh-e/mh-e.el
lisp/mh-e/mh-letter.el
lisp/mh-e/mh-utils.el
lisp/minibuffer.el